<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Cadastro extends CI_Controller {
        
    public function __construct(){
        parent::__construct();
        $componente = array('componente'=>'cadastro');
        $this->session->set_userdata($componente);
        $this->load->model('Cadastro_Model');
    }
    public function index(){        
        $componente = $this->session->userdata('componente').'_view'; 
        $this->load->view($componente);
    }   
}
/* End of file calendario.php */
/* Location: ./application/controllers/calendario.php */